class ChangeDateTimeForPhotoFromDateTimeToString < ActiveRecord::Migration
  def self.up
    change_column(:photos, :date_time, :string)
  end

  def self.down
    change_column(:photos, :date_time, :datetime)
  end
end
